/*
-------------------------------------------------

	Game.h

	Dmitriy Kuzmenko (Dgut)

-------------------------------------------------
*/

#ifndef __AUTUMN_GAME_H__
#define __AUTUMN_GAME_H__

#include "pugixml.hpp"

namespace Autumn
{

#define gGame ( *pGame )

class Game
{
public:
								Game( void );
	virtual						~Game( void );

	const int					DELTA;
	const int					TIME;

	virtual const bool			Init( void );
	virtual void				Shutdown( void );
	virtual void				Frame( void );
	virtual void				Draw( void ) const;

	virtual void				Save( pugi::xml_node node );
	virtual const bool			Load( pugi::xml_node node );
};

extern Game * pGame;

}	// namespace Autumn

#endif	// !!! __AUTUMN_GAME_H__ !!!